package cn.jeeweb.modules.web.news.entity;

import cn.jeeweb.core.common.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import java.util.Date;
import cn.jeeweb.modules.web.news.entity.HuNewsCate;

/**   
 * @Title: hu_news_content
 * @Description: hu_news_content
 * @author &Iacute;&otilde;&acute;&aelig;&frac14;&ucirc;
 * @date 2018-03-05 16:14:13
 * @version V1.0   
 *
 */
@TableName("hu_news_content")
@SuppressWarnings("serial")
public class HuNewsContent extends AbstractEntity<String> {

    /**主键*/
    @TableId(value = "id", type = IdType.UUID)
	private String id;
    /**备注*/
    @TableField(value = "remarks")
	private String remarks;
    /**创建者*/
    @TableField(value = "create_by",fill = FieldFill.INSERT)
	private String createBy;
    /**更新者*/
    @TableField(value = "update_by",fill = FieldFill.UPDATE)
	private String updateBy;
    /**修改时间*/
    @TableField(value = "update_date",fill = FieldFill.UPDATE)
	private Date updateDate;
    /**创建时间*/
    @TableField(value = "create_date",fill = FieldFill.INSERT)
	private Date createDate;
    /**删除标记*/
    @TableField(value = "del_flag")
	private String delFlag;
    /**类别信息*/
    @TableField(value = "cate_id",el="huNewsCate.id")
	private HuNewsCate huNewsCate;
    /**新闻标题*/
    @TableField(value = "news_title")
	private String newsTitle;
    /**新闻内容*/
    @TableField(value = "news_content")
	private String newsContent;
	
	/**
	 * 获取  id
	 *@return: String  主键
	 */
	public String getId(){
		return this.id;
	}

	/**
	 * 设置  id
	 *@param: id  主键
	 */
	public void setId(String id){
		this.id = id;
	}
	/**
	 * 获取  remarks
	 *@return: String  备注
	 */
	public String getRemarks(){
		return this.remarks;
	}

	/**
	 * 设置  remarks
	 *@param: remarks  备注
	 */
	public void setRemarks(String remarks){
		this.remarks = remarks;
	}
	/**
	 * 获取  createBy
	 *@return: String  创建者
	 */
	public String getCreateBy(){
		return this.createBy;
	}

	/**
	 * 设置  createBy
	 *@param: createBy  创建者
	 */
	public void setCreateBy(String createBy){
		this.createBy = createBy;
	}
	/**
	 * 获取  updateBy
	 *@return: String  更新者
	 */
	public String getUpdateBy(){
		return this.updateBy;
	}

	/**
	 * 设置  updateBy
	 *@param: updateBy  更新者
	 */
	public void setUpdateBy(String updateBy){
		this.updateBy = updateBy;
	}
	/**
	 * 获取  updateDate
	 *@return: Date  修改时间
	 */
	public Date getUpdateDate(){
		return this.updateDate;
	}

	/**
	 * 设置  updateDate
	 *@param: updateDate  修改时间
	 */
	public void setUpdateDate(Date updateDate){
		this.updateDate = updateDate;
	}
	/**
	 * 获取  createDate
	 *@return: Date  创建时间
	 */
	public Date getCreateDate(){
		return this.createDate;
	}

	/**
	 * 设置  createDate
	 *@param: createDate  创建时间
	 */
	public void setCreateDate(Date createDate){
		this.createDate = createDate;
	}
	/**
	 * 获取  delFlag
	 *@return: String  删除标记
	 */
	public String getDelFlag(){
		return this.delFlag;
	}

	/**
	 * 设置  delFlag
	 *@param: delFlag  删除标记
	 */
	public void setDelFlag(String delFlag){
		this.delFlag = delFlag;
	}
	/**
	 * 获取  huNewsCate
	 *@return: HuNewsCate  类别信息
	 */
	public HuNewsCate getHuNewsCate(){
		return this.huNewsCate;
	}

	/**
	 * 设置  huNewsCate
	 *@param: huNewsCate  类别信息
	 */
	public void setHuNewsCate(HuNewsCate huNewsCate){
		this.huNewsCate = huNewsCate;
	}
	/**
	 * 获取  newsTitle
	 *@return: String  新闻标题
	 */
	public String getNewsTitle(){
		return this.newsTitle;
	}

	/**
	 * 设置  newsTitle
	 *@param: newsTitle  新闻标题
	 */
	public void setNewsTitle(String newsTitle){
		this.newsTitle = newsTitle;
	}
	/**
	 * 获取  newsContent
	 *@return: String  新闻内容
	 */
	public String getNewsContent(){
		return this.newsContent;
	}

	/**
	 * 设置  newsContent
	 *@param: newsContent  新闻内容
	 */
	public void setNewsContent(String newsContent){
		this.newsContent = newsContent;
	}
	
}
